package com.example.chapter02.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Author:LiuZejiang
 * Date:2022/10/9  14:37
 * JDK-Version:1.8
 */
public class DateUtil {

    public static String getNowTime() {
        SimpleDateFormat adf = new SimpleDateFormat("HH:mm:ss");
        return adf.format(new Date());
    }
}
